<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

    <title>打赏页面</title>
    <link href="__PUBLIC__/index/css/expense.css" type="text/css" rel="stylesheet"/>
    <link rel="stylesheet" href="__PUBLIC__/index/css/jquery.dialog.css">
    <script src="__PUBLIC__/index/js/jquery.js"></script>
    <script src="__PUBLIC__/index/js/jquery.dialog.js"></script>
   <style>
     .erwei{ width: 100%; height: 100%;background: rgba(120,120,120,0.7); position: absolute;top: 0;z-index: 2;"}
.erwei .erweima{width:160px;height:160px;background:#fff;}
.erwei .erweima img{width:150px;height:150px;}
   
   </style>

</head>
<body>
<div id="background" style="position:absolute;z-index:-1;width:100%;height:100%;top:0px;left:0px;">

<img src="__ROOT__/images/{$re.mohu}" width="100%" height="100%"/>

</div>
<div id="content">
<div id="nav">
<img src="__PUBLIC__/index/images/hongbao.png"/>

<p>打赏看视频</p>

   
	 <if condition="$isfufei eq 0">
    <span>{$money}元</span>
	<else/>
	
	<span>已付款      </span>
	</if>
	
<div class="reward">
    <if condition="$isfufei eq 0">
     <input type="button" class="submit" onClick="dashang()" value="打赏">
	 <input type="button" style="margin-top:10px;" class="submit" onClick="sheng()" value="我也要玩">
	 <else/>
	  
     <input type="button" class="submit" onClick="yuanshipin()" value="查看视频">
	 <input type="button" style="margin-top:10px;" class="submit" onClick="sheng()" value="我也要玩">
	 </if>

</div>
<script>
function sheng(){
	  $('.erwei').css('display','block');
	  
 }
 function dianji(){
	  $('.erwei').css('display','none');
	  
 }



</script>
<script>
   
   function dashang(){
    
	  var orderno="{$orderno}";
      
	  location.href="{$zhifuwangzhi}/index.php/wxpay/index/?orderno="+orderno;
   
   
   }
   
   
   function yuanshipin(){
     
	 var vid="{$vid}";
	 var url="/index.php/Yuantu/shipin/id/"+vid+"/uid/"+uid;
	 
	 location.href=url;
   
   
   }
   


</script>
</div>
</div>


<div class="erwei" style="display:none;">
<div class="erweima" style="width:160px;height:160px;background:#fff;margin:0 auto;position:relative;border-radius:10px;margin-top:55%;">
<p style="border-bottom:1px solid #ccc;    text-align: center;height:30px;"><a onClick="dianji()" style="position: absolute; top: 0; left: 4%;">×</a> 请联系微信客服</p>
<!--<img src="{$imgurl}" style="width:120px;height:120px;margin-left:20px;"/>-->
微信客服：{$weixinhao}
</div>
</div>

<div style=";width:100%;height:100%;background:#000;position:fixed;top:0; filter:alpha(opacity=50); -moz-opacity:0.5; -khtml-opacity: 0.5; opacity:0.5;" id="touming"></div>

</body>
</html>